Skip to content

feat(tp2): maintain canonical Gufo with native RDMA and validated fixes - #9

Merged
LostVector merged 413 commits into
mainfrom
tp2
Nov 12, 2026
Merged

LostVector merged 413 commits into
mainfrom
tp2

Conversation

@LostVector

@LostVector LostVector commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

In plain English: This is our combined working branch: current canonical Gufo plus native two-machine inference and the fixes we have validated locally. It also keeps a ready chat from unnecessarily waiting through another chat's turn and lets pending progress saves run before more TP prompt work starts.

The maintained branch is tp2, now at b24bee2a9d7495efedc13cc0b21fba918c526b3b. This aggregate draft compares it with fork main, which remains at its prior canonical snapshot. Updating the source branch does not deploy a binary or change the running cluster.

Included:

Current adoption record and exact data.

Validation:

  • Five focused CPU suites pass in 3.54 s. Formatting, extension API, isolation/family graph and documentation checks pass.
  • Selected production AR/MTP/DFlash disk-cache histories preserve results/work; seven AR and nine MTP timing metrics remain inconclusive. DFlash's single pair passes 128 metrics.
  • Combined scheduler controls retain 116 generation records and 20 probes with identical results/work: 403 timing metrics pass and ten remain inconclusive. Two observations per role show first-token times of 4.014–4.362 s versus 2.523–2.534 s for one independent prompt, and 3.993–4.341 s versus 3.832–3.844 s for its peer. Both start with zero reused tokens and cache capture enabled; these are not warm prefix hits or a standalone decode-throughput result.
  • The measured production binary uses 6387a35a; subsequent 9c79494b changes only a test, and the adoption record changes only documentation/data. Follow-up CI fixes update generated test order, Windows test selection and layout-21 identity fixtures; production sources and serialization are unchanged. The two formerly failing repository tests now pass locally.

The inherited strict TP2 literal-history warning remains failed and unwaived; it also reproduces on the pre-refresh deployed binary. Broader quality, all timings and new Nix/container qualification are not claimed. The unqualified smaller-vocabulary DFlash experiment 52130313 and post-capture notification prototype are excluded.

The two focused upstream proposals are gufo-org/gufo #1181 and neuhaus/gufo #17, each tested on its own base. This consolidation remains draft; no default-branch merge or service deployment is included.

neuhaus and others added 30 commits October 22, 2026 08:25
fedeizzo and others added 28 commits November 11, 2026 20:55
Local integration checkpoint of gufo-org/main at 4b03004 onto the TP2 fork.
Preserve legacy TP snapshots alongside the canonical component cache, rank-local
execution, paired prefill, collective graph guard and DFlash hooks.

Fresh HIP/RDMA library, selected serving executable and operator/snapshot test
builds pass. Nine CPU cache, runner, scheduler and TP suites pass; format, API
0.3.2, docs, metadata and dependency/link boundaries pass. Raw imported evidence
is preserved byte-for-byte, including its pre-existing whitespace.

Not a deployment or runtime qualification: GPU numerical/model and actual TP2
checks remain pending, as does reconciliation of unique Neuhaus RDMA changes.
Private performance tuning remains on its separate checkpoint branch.
Import Neuhaus 4db55e8 and the restart-based regression correction ffa6f46
onto the canonical integration. Rank 1 accounts disk-only snapshot payloads
against staging rather than refusing them at the smaller RAM-cache budget.
Drop returns bytes to the same account that admitted the snapshot.

The regression restarts both cache owners so it verifies persistent restoration
without racing asynchronous rank-0 publication. TP executor and disk-store
suites pass; shared formatting passes. Local integration only, no deployment.

Co-authored-by: Sven Neuhaus <neuhaus@users.noreply.github.com>
)

Co-authored-by: Francesco Bozzo <francesco.bozzo.99@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Import Neuhaus 729997d and decoded-frontier TP probe coverage from 871a1ff.
Each rotating GPU window owns its allocation, DMA-BUF and memory region; send,
receive and queued partial descriptors select the matching address and lkey.
Host-buffer fallback and exchange ordering remain intact.

RDMA library and focused serving executable build; updated TP model probe
passes a syntax check and shared formatting passes. Actual two-host DMA-BUF
registration, transfers and full-model probe execution remain pending. No
performance gain or deployed runtime qualification is claimed by this commit.
Co-authored-by: gufo-release-bot[bot] <334900109+gufo-release-bot[bot]@users.noreply.github.com>
Import Neuhaus b2a88c2 and 8d7e57e. Both head and worker user-unit templates
pass the optional library path and explicitly run as the mapped container UID
and GID. Document the variable in the head environment example.

systemd-analyze --user verify accepts both templates; its only warning is in
the unrelated installed spice-vdagent unit. No template was installed, no
container was started and the running native trial was not reconfigured.
Adapt Neuhaus db407c7 to the canonical serving layout. The model-owned cache
can evict the least recently used other conversation while preserving its
source, shared branch points and its own earlier checkpoints.

Select the policy through private TextRunnerPool configuration for TP2, rather
than restoring the removed public model virtual hook. Ordinary model-owned
cache defaults and component-cache behavior remain unchanged; API stays 0.3.2.

Cache, canonical/legacy runner and TP executor suites pass (4/4), including
Neuhaus's record-pressure regression. HIP serving executable builds; shared
format, API and documentation gates pass. Local intake only, no deployment.
Adapt Neuhaus b652bae to canonical portable sockets. Watch the TCP receive
half without consuming a queued hello; stop and join the watch before the
handshake. Failed workers exit without waiting for an abandoned exchange.

Keep native state queries in the platform leaf: Linux RDHUP and guarded
Windows TCP_INFO v0. Unsupported queries fail explicitly; the existing HTTP
peer-disconnect helper is unchanged. Use a condition variable to wake the
load watcher promptly on shutdown, including callback-owned destruction.

Add FIN-behind-unread-payload and callback-self-release regressions, retaining
all original watch tests. Nine CPU cache/runner/scheduler/TP suites pass;
focused ASan/UBSan instruments net.cpp, tp_control.cpp and the control test,
with leak checking. HIP serving executable, shared format/API/docs/boundaries
pass. Windows branch is source-reviewed against Microsoft docs, not compiled
or run here. Two-host/full-model runtime qualification remains pending.
Adapt Neuhaus e17b72d to the canonical extension.cmake entry point. The
verbs adapter does not use the dynamic-loader API. Retain GLOBAL libibverbs
import for the canonical link-graph report.

Focused serving executable links; target-graph and metadata drift checks
pass. CLI reaches TP transport through the neutral provider registry, so the
old direct model-header consumer declaration is no longer needed.
@LostVector
LostVector marked this pull request as ready for review November 12, 2026 07:04
@LostVector
LostVector merged commit a32879a into main Nov 12, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ext-api Changes extension source API; permanent change record and API checks required

Projects

None yet

Development

Successfully merging this pull request may close these issues.